package mapper;

import java.util.List;

public class Host{
    //主机名localhost
    private String hostName;
    //端口号8080
    private String port;
    //部署项目文件夹的路径
    private String appBase;
    //所有的上下文的一个集合
    private List<Context> contextList;

    public Host() {
    }

    public Host(String hostName, String port, String appBase, List<Context> contextList) {
        this.hostName = hostName;
        this.port = port;
        this.appBase = appBase;
        this.contextList = contextList;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getAppBase() {
        return appBase;
    }

    public void setAppBase(String appBase) {
        this.appBase = appBase;
    }

    public List<Context> getContextList() {
        return contextList;
    }

    public void setContextList(List<Context> contextList) {
        this.contextList = contextList;
    }

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }
}
